package com.edu.his.mapper;

import com.edu.his.domain.Disease;

import java.util.List;

/**
 * 描述：
 * 创建人：飘
 * 创建时间：2024/12/16
 **/
public interface DiseaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Disease record);

    int insertSelective(Disease record);

    Disease selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Disease record);

    int updateByPrimaryKey(Disease record);

    /**
     * 按条件查询疾病
     * @param disease
     * @return
     */
    List<Disease> selectDisease(Disease disease);
}